/*
 * Copyright © 2004-2014 chenYuan. All rights reserved.
 * @Website:wwww.jspx.net
 * @Mail:39793751@qq.com
 * @author: chenYuan , 陈原
 * @License: Jspx.net Framework Code is open source (LGPL)，Jspx.net Framework 使用LGPL 开源授权协议发布。
 * @jvm:jdk1.6+  x86/amd64
 *
 */
package com.jspx.sober.config;

import com.jspx.utils.StringUtil;

/**
 * Created by IntelliJ IDEA.
 * User:chenYuan (mail:39793751@qq.com)
 * Date: 2007-1-9
 * Time: 20:13:24
 */
public class MapSQL
{

    public String getId()
    {
        return id;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    private String id = StringUtil.empty;

    public String getResultClass()
    {
        return resultClass;
    }

    public void setResultClass(String resultClass)
    {
        this.resultClass = resultClass;
    }

    private String resultClass = "Map";

    public String getContext()
    {
        return context;
    }

    public void setContext(String context)
    {
        this.context = context;
    }

    private String context = StringUtil.empty;

    private boolean cache = false;

    public boolean isCache()
    {
        return cache;
    }

    public void setCache(boolean cache)
    {
        this.cache = cache;
    }
}